package cn.gov.msa.dao;

import cn.gov.msa.model.RecordCertificateFile;
import net.sf.json.JSONArray;

public interface RecordCertificateFileMapper {
    int deleteByPrimaryKey(String recordfileid);

    int deleteByCertificateid(String certificateid);
    
    int insert(RecordCertificateFile record);

    int insertSelective(RecordCertificateFile record);

    RecordCertificateFile selectByPrimaryKey(String recordfileid);

    int updateByPrimaryKeySelective(RecordCertificateFile record);

    int updateByPrimaryKey(RecordCertificateFile record);
    
    JSONArray selectByCertificateid (String certificateid);
}